<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<div id="d1"></div>

<script type="text/javascript">
	setInterval(function(){
		d1.innerHTML+="<img src='../imgs/2/gif'>";
	},500);
</script>
</body>
</html>